package MsgPackage;

/**
 * @author Omri Barda		039725890 
 * @author Amit Joseph		034608547
 * @author Gilad Shpigel  	300162393
 * @author Elad Elbaz		040539959
 * @version June 2012
 */

import files.MyFile;

public class StudentGetFilePack extends MessagePack {
	private static final long serialVersionUID = 1L;
	private String examCode;
	private String fileName;
	private Boolean good;

	/**
	 * @return the serialversionuid
	 */
	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	private MyFile myfile;

	/**
	 * constructor
	 * 
	 * @param examCode
	 */
	public StudentGetFilePack(String examCode) {
		this.op = OpType.getExamFile;
		this.examCode = examCode;
	}

	/**
	 * 
	 * @return the file name
	 */
	public String getFileName() {
		return fileName;
	}

	/**
	 * 
	 * @param fileName
	 *            name of the file
	 */
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	/**
	 * 
	 * @return the exam code
	 */
	public String getExamCode() {
		return examCode;
	}

	/**
	 * 
	 * @param examCode
	 *            of the exam
	 */
	public void setExamCode(String examCode) {
		this.examCode = examCode;
	}

	/**
	 * @return the myfile
	 */
	public MyFile getMyfile() {
		return myfile;
	}

	/**
	 * @param myfile
	 *            the myfile to set
	 */
	public void setMyfile(MyFile myfile) {
		this.myfile = myfile;
	}

	/**
	 * @return the good
	 */
	public Boolean getGood() {
		return good;
	}

	/**
	 * @param good
	 *            the good to set
	 */
	public void setGood(Boolean good) {
		this.good = good;
	}

}
